﻿<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<%template _header%>
<script language="javascript" src="/support/editor/script_common.js"></script>
<script language="javascript" src="/support/editor/editor_function.js"></script>

<div class="layout-cols2">
	
	
		    <%csharp%>if( IsPost){ <%/csharp%>
	    
	    <%template _MsgBox%>
	    
	    <%csharp%> } else { <%/csharp%>
	    
	    <div class="box">
	        <div class="caption">
	            修改回复
	        </div>
	        <div class="content">
	            <br />
	            <form id="replyform" name="replyform" method="post" action="">
	                <input type="hidden" name="gid" value={TopicData.Groupid} />
	                <input type="hidden" name="tid" value={TopicData.Id} />
	                <input type="hidden" name="rid" value={TopicData.Id} />
	             <table class="editboxstyle">
	                <col style="width:60px" />
	                <tbody>
	                <tr>
                        <td>标题：</td>
	                    <td>
	                        <input type="text" size="60" class="inputstyle" readonly="true"
	                        <%if ReplyData.ReplyFloorNo==-1%> value="回复:主题"
	                        <%else%>
	                               value="回复: 第 {ReplyData.ReplyFloorNo} 楼 "
	                         <%/if%>      
	                        />
	                        &nbsp;&nbsp;
	                    </td>
	                 </tr>
	                     
	                 <tr valign="top">
                         <td>内容：</td>
                         <td>
                          <textarea id="uchome-ttHtmlEditor" name="tbxContent" cols="90" rows="15" style="display:none">{ReplyData.Body}</textarea> 
                            <iframe src="/support/editor/editor.htm" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:600px;border: 1px solid #C5C5C5;" height="300"></iframe>

                            <p>内容长度必须在{Config.ReplyMinSize}-{Config.ReplyMaxSize}之间</p>
	                     </td>
    	            </tr>
    	            <tr>
    	                <td></td>
    	                 <td align="right"> 
    	                      <a href="#" onclick="CheckForm();" class="yellowbutton">提交</a>
                        </td>
    	            </tr>   
	                </tbody>
	                </table>             
	            </form>
	            <script type="text/javascript">
	                function CheckForm()
	                {
	                    _$('replyform').submit();
	                }
	            </script>
	            <br />
	        </div>
	    </div>
	    
	    <%csharp%> } <%/csharp%>
	
</div>

<%template _footer%>